package com.tledu.zyf.service.impl;

import com.tledu.zyf.dao.IUserDao;
import com.tledu.zyf.service.IUserService;
import com.tledu.zyf.util.Di;
import com.tledu.zyf.util.New;

@New("userService")
public class UserService implements IUserService {
	private IUserDao userDao;

	public IUserDao getUserDao() {
		return userDao;
	}

	@Di("xx")
	public void setUserDao(IUserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public void login(String username, String password) {
		userDao.login(username, password);
	}
}
